enum Direction {
  Up='UP',
  Down='DOWN',
  Left='LEFT',
  Right='RIGHT'
}

// console.log(Direction[0])
console.log(Direction.Up)
const value = 'up'
// if(value === Direction.Up){
//   console.log('go up')
// }